package com.competition.system.domain;

import com.competition.common.core.domain.entity.SysDept;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.competition.common.annotation.Excel;
import com.competition.common.core.domain.BaseEntity;

/**
 * 专业管理对象 major
 *
 * @author cui
 * @date 2025-01-20
 */

public class Major extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long majorId;
    private SysDept dept;
    private String majorName;
    private Long deptId;

    @Override
    public String toString() {
        return "Major{" +
                "majorId=" + majorId +
                ", dept=" + dept +
                ", majorName='" + majorName + '\'' +
                ", deptId=" + deptId +
                '}';
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public SysDept getDept() {
        return dept;
    }

    public void setDept(SysDept dept) {
        this.dept = dept;
    }

    public Long getMajorId() {
        return majorId;
    }

    public void setMajorId(Long majorId) {
        this.majorId = majorId;
    }
}
